package com.blog.dao;

import com.blog.entity.Blogger;
import org.apache.ibatis.annotations.Param;

/*
 * 博主Dao
 */
public interface BloggerDao {

    //查询博主信息
    Blogger find();

    //根据登陆名查询博主对象
    Blogger getByUserName(@Param("userName") String userName);

    //更新博主个人信息
    Integer update(Blogger paramBlogger);
}

